﻿using System.Xml.Serialization;
using Eagles.Base.Configuration;

namespace Eagles.DomainService.Model.Config
{
    [XmlRoot("Eagles")]
    [XmlPath("/Configuration/Eagles.config")]
    public class EaglesConfiguration
    {
        /// <summary>
        /// 导出文件路径
        /// </summary>
        public string FilePath { get; set; }

        public string ImageBaseUrl { get; set; }

        /// <summary>
        /// 活动通知跳转链接
        /// </summary>
        public string ActivityNoticeUrl { get; set; }

        /// <summary>
        /// 任务通知跳转链接
        /// </summary>
        public string TaskNoticeUrl { get; set; }

        /// <summary>
        /// Token过期时间
        /// </summary>
        public int TokenExpTime { get; set; }

        /// <summary>
        /// 记住密码Token过期时间
        /// </summary>
        public int RememberTokenExpTime { get; set; }

        /// <summary>
        /// 验证码过期时间
        /// </summary>
        public int ValidCodeExpireTime { get; set; }
        
        /// <summary>
        /// 阿里云短信提供方Id
        /// </summary>
        public int AliyunVendorId { get; set; }
        
        /// <summary>
        /// 阿里短信签名
        /// </summary>
        public string AliyunSignName { get; set; }

        /// <summary>
        /// 阿里注册短信模板
        /// </summary>
        public string AliyunTemplateCode { get; set; }

        /// <summary>
        /// 阿里推荐人短信模板
        /// </summary>
        public string AliyunReferrerTemplateCode { get; set; }

        /// <summary>
        /// 腾讯云短信提供方Id
        /// </summary>
        public int TencentVendorId { get; set; }

        /// <summary>
        /// 百度云短信提供方Id
        /// </summary>
        public int BaiduVendorId { get; set; }
        
        /// <summary>
        /// 活动公开跳转链接
        /// </summary>
        public string PublicActivityUrl { get; set; }

        /// <summary>
        /// 任务公开跳转链接
        /// </summary>
        public string PublicTaskUrl { get; set; }

        /// <summary>
        /// 文章公开跳转链接
        /// </summary>
        public string PublicArticleUrl { get; set; }

        /// <summary>
        /// 任务公开列表默认图片
        /// </summary>
        public string PublicTaskDefaultImg { get; set; }

        /// <summary>
        /// 用户通知内容
        /// </summary>
        public string UserNoticContent { get; set; }
    }
}